package com.jay.lang.clazz;

public class IntegerCls {
	public static void main(String[] args) {
		System.out.println(Integer.MAX_VALUE);
		System.out.println(Integer.MIN_VALUE);
		System.out.println(Integer.bitCount(21));
		int i = 137;
		Integer ii = Integer.valueOf(i);
		System.out.println(ii.doubleValue());
		System.out.println(ii.floatValue());
		System.out.println(ii.longValue());
		System.out.println(ii.byteValue());
		System.out.println(ii.shortValue());
		System.out.println(Integer.highestOneBit(i));
		System.out.println(Integer.lowestOneBit(i));
		System.out.println(Integer.numberOfLeadingZeros(i));
		System.out.println(Integer.numberOfTrailingZeros(i));
		System.out.println(Integer.reverse(i));
		System.out.println(Integer.reverseBytes(i));
		System.out.println(Integer.rotateLeft(i, 1));
		System.out.println(Integer.rotateRight(i, 1));
		System.out.println(Integer.signum(i));
		System.out.println(Integer.toBinaryString(i));
		System.out.println(Integer.toHexString(i));
		System.out.println(Integer.toOctalString(i));
	}
}
